package cn.com.dcsgo;

import cn.com.dcsgo.vo.user.LeaderAddressVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * UserFeignClient
 *
 * @author Dcsgo
 * @since 2025/4/25 8:00
 */
@FeignClient("service-user")
public interface UserFeignClient {
    @GetMapping("api/user/deliver/address/{userId}")
    LeaderAddressVo getDefaultDeliveryAddressByUserId(@PathVariable Long userId);
}
